-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow custom localize function for datatable #21270
Conversation
WalkthroughWalkthroughThe overall change introduces a more flexible localization handling mechanism within the Changes
Sequence Diagram(s)sequenceDiagram
participant ComponentA
participant HaDataTable
participant HaTabsSubpageDataTable
ComponentA->>HaTabsSubpageDataTable: Construct with localize function
HaTabsSubpageDataTable->>HaDataTable: Pass localize function in props
HaDataTable->>HaDataTable: Choose localize function based on props
HaDataTable->>HaTabsSubpageDataTable: Localize data for display
HaTabsSubpageDataTable-->>ComponentA: Render localized data
Tip AI model upgrade
|
Proposed change
Type of change
Example configuration
Additional information
Checklist
If user exposed functionality or configuration variables are added/changed:
Summary by CodeRabbit
localizeFunc
property.HaTabsSubpageDataTable
by passing alocalize
property.